home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / tex / instadex.zip / INSTADEX.DOC < prev    next >
Text File  |  1994-04-03  |  10KB  |  200 lines

  1. INSTADEX Version 1.0
  2.  
  3. USER GUIDE
  4.  
  5. (c) Copyright 1994 by Pat Williams, All Rights Reserved.
  6.  
  7. INSTADEX programs and this document are provided with NO WARRANTY. Pat 
  8. Williams will accept NO responsibility for damages arising from their use. In 
  9. other words, USE AT YOUR OWN RISK. Comments, suggestions, and bug reports are 
  10. invited; send to Pat Williams, HortIdeas Publishing, 460 Black Lick Rd., 
  11. Gravel Switch, KY 40328, U.S.A., phone 606-332-7606, e-mail 
  12. <0004972767@mcimail.com>.
  13.  
  14. INSTADEX.EXE, INSTAPAK.EXE, and INSTABAS.EXE may be distributed freely, 
  15. provided that unmodified copies of this User Guide file (INSTADEX.DOC), 
  16. INSTABAS.DOC, READTHIS.1ST, SKIPWORD.LST, INSTADOC.* (5 files with extensions 
  17. .HDR, I1, L1, S1, and T1, respectively) are included with them. This package 
  18. is being distributed as "Shareware." You may examine it on a trial basis at no 
  19. charge, but if you find it useful AND PARTICULARLY IF YOU DISTRIBUTE 
  20. Instabases, please send $10 to Pat Williams, HortIdeas, 460 Black Lick Rd., 
  21. Gravel Switch, KY 40328. Thank you! 
  22.  
  23. INSTABAS.EXE may be distributed freely with Instabase files created by using 
  24. INSTADEX.EXE and INSTAPAK.EXE, provided that an unmodified copy of 
  25. INSTABAS.DOC is included with them AND you have paid the registration fee. NO 
  26. RESTRICTIONS ARE PLACED ON CHARGING OTHER PARTIES FOR COPIES OF INSTABASES.
  27.  
  28. WHAT IS AN INSTABASE?
  29.  
  30. Instadex programs generate pre-indexed electronic documents (Instabases) from 
  31. (even very large) individual or concatenated text files, allowing words to be 
  32. located "instantly" where they appear in the documents. User-specified 
  33. sections of Instabase documents can be gathered to separate text files. 
  34. Automatic compression allows the resulting Instabase files to be smaller than 
  35. the original text files (typically by one-quarter to one-third). A user-
  36. editable skip-word file prevents indexing of insignificant words, such as 
  37. conjunctions.
  38.  
  39. Candidates for Instabase generation and distribution include books, 
  40. newsletters, mailing list logs, product manuals, letters, and help files -- 
  41. most any on-disk text!
  42.  
  43. The Instadex package includes three executables, INSTADEX.EXE, INSTAPAK.EXE, 
  44. and INSTABAS.EXE, and the skip-word file, SKIPWORD.LST.
  45.  
  46. Creation of an Instabase requires running the first two programs, with 
  47. SKIPWORD.LST in the current directory.
  48.  
  49. Using an Instabase requires running INSTABAS.EXE with the Instabase files 
  50. created by INSTADEX.EXE and INSTAPAK.EXE (access to SKIPWORD.LST is not 
  51. necessary).
  52.  
  53. HOW TO CREATE AN INSTABASE
  54.  
  55. 1. Run INSTADEX.EXE. The command-line syntax is as shown below:
  56.  
  57.    INSTADEX file-to-index file-to-index ... file-to-index instabase-filename
  58.  
  59. You can index as many files as you can fit on the command line (renaming them 
  60. with short names will help to fit more on the command line, or you can 
  61. concatenate several files into one or a few large files using a word 
  62. processor). They will be indexed in the order in which they appear on the 
  63. command line. DO NOT include an extension on instabase-filename (the name that 
  64. you want the Instabase to have). The file-to-index and instabase-filename 
  65. specifications can include path designations. Note: all files to be indexed 
  66. should be in text format (called "non-document format" by some word 
  67. processors); non-ASCII characters are treated as word delimiters ("break 
  68. characters", just like a space or comma) by INSTADEX.
  69.  
  70. Example: To index A.TXT, B.TXT, and C.TXT (in that order), and name the 
  71. resulting Instabase ABC, you would type
  72.  
  73.   INSTADEX A.TXT B.TXT C.TXT ABC
  74.  
  75. and then press Enter.
  76.  
  77. Free disk space needs to be at least about equal to the total size of the 
  78. files you are indexing (about twice as much if your disk has on-the-fly file 
  79. compression/decompression). Given that requirement, you should be able to 
  80. index files with total size of several megabytes.
  81.  
  82. SKIPWORD.LST contains words which will not be indexed. This is a text file 
  83. which can be edited by using a word processor; to add words, key in each one 
  84. on a separate line. After editing, save the file in pure-ASCII text mode 
  85. (called non-document mode by some word processors).
  86.  
  87. If the total size of the files you are indexing is large and/or your computer 
  88. is slow, expect INSTABAS to take several minutes to run.
  89.  
  90. 2. Run INSTAPAK.EXE. The command-line syntax is as shown below:
  91.  
  92.    INSTAPAK instabase-filename
  93.  
  94. Again, DO NOT include an extension on instabase-filename. The instabase-
  95. filename specification can include a path designation.
  96.  
  97. Example: Continuing from the above example, you would type
  98.  
  99.    INSTAPAK ABC
  100.  
  101. and then press Enter.
  102.  
  103. INSTAPAK.EXE packs together some of the files created by INSTADEX.EXE. If you 
  104. don't run INSTAPAK.EXE after running INSTADEX.EXE, then INSTABAS.EXE won't 
  105. work.
  106.  
  107. The results of running INSTADEX.EXE and then INSTAPAK.EXE are several files 
  108. having the instabase-filename you specified and various extensions. Together 
  109. with INSTABAS.EXE, these constitute an Instabase. All of these files together 
  110. should be considerably smaller than the original text files. All of the text 
  111. in the original files from which an Instadex has been generated is accessible 
  112. in the Instadex. The original text files are NOT needed to use the Instabase!
  113.  
  114. INSTAPAK should take less time to run than INSTADEX for a given set of files 
  115. to be indexed.
  116.  
  117. HOW TO USE AN INSTABASE
  118.  
  119. Run INSTABAS.EXE. The command-line syntax is as shown below:
  120.  
  121.    INSTABAS instabase-filename gather-file
  122.  
  123. DO NOT include an extension on instabase-filename. The gather-file is 
  124. optional; if it is missing, gathered document sections will be written to 
  125. instabase-filename.GTH, instead of being written to gather-file. The 
  126. specifications for instabase-filename and gather-file can have path 
  127. designations.
  128.  
  129. Example: To use the Instabase named ABC, and to allow gathering of document 
  130. sections to the text file ABC.TXT, you would type
  131.  
  132.    INSTABAS ABC ABC.TXT
  133.  
  134. and then press Enter.
  135.  
  136. There are two types of Instabase screens, the Index Screen (showing words in 
  137. the index and words chosen to be located in the document) and the Document 
  138. Screen (showing a portion of the document and allowing sections to be gathered 
  139. to another file).
  140.  
  141. The Index Screen appears first. You can press Esc at any time when you see the 
  142. Index Screen to get out of the Instabase and go back to DOS. To switch to the 
  143. Document Screen, press Enter. To switch back to the Index Screen from the 
  144. Document Screen, press Esc.
  145.  
  146. The Index Screen has three parts. You can move the cursor from one part to 
  147. another by pressing Tab or Shift+Tab. These are the parts:
  148.  
  149. 1. Edit Line: the single line running across the screen, just below the 
  150. program name line. Here, you can key in individual words which you want to 
  151. find in the document.
  152.  
  153. 2. Index Window: the box on the left side. This contains a scrollable list of 
  154. all words in the Instabase's index, in ASCII order. Here, you can select words 
  155. to be found in the document.
  156.  
  157. 3. Chosen Words Window: the box on the right side. This shows the words you 
  158. have chosen to be located in the document. Here, you can delete words if you 
  159. no longer want them to be found in the document.
  160.  
  161. When the cursor is on the Edit Line, you can key in a word (for correcting 
  162. mistakes, use Backspace, Del, and left and right arrows on keypad) and press 
  163. Enter. If the word is in the index, it will disappear from the Edit Line and 
  164. appear in the Chosen Words Window. If the word is not in the index, you'll 
  165. just hear a beep. Edit the word and try again, or press Tab to move the cursor 
  166. to the Index Window. If you put a * at the end of a word or partial word, all 
  167. words in the index which begin with the letters prior to the * will be chosen. 
  168. If you want to switch to the Document Screen, when there are no characters 
  169. showing on the Edit Line, press Enter.
  170.  
  171. When the cursor (as a reverse-color block) is in the Index Window, you can 
  172. move it up and down with the up and down arrows on the keypad, PgDn, and 
  173. PgUp. To select a word to be located in the document, press the s